package com.spzx.product.mapper;

import com.spzx.product.domain.Brand;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

//@Repository
//@Mapper
public interface BrandMapper {
    List<Brand> selectBrandList(@Param("vo") Brand brand);

    Brand selectBrandById(Long id);

    int addBrand(@Param("vo") Brand brand);

    int updateBrand(@Param("vo") Brand brand);

    int deleteBatch(@Param("ids") List<Long> ids);
}
